﻿using System;
using System.Collections.Generic;

using System.Text;

namespace HZ.DrugTrade.Model.Query
{
    [Serializable]
    public class HospitalProcureCatalog : IQuery
    {
        /// <summary>
        /// 规格
        /// </summary>
        public string Outlookc { get; set; }
        /// <summary>
        /// 单位
        /// </summary>
        public string Unit { get; set; }
        /// <summary>
        /// 包装单位
        /// </summary>
        public string PackUnit { get; set; }
        /// <summary>
        /// 分类名
        /// </summary>
        public string SortName { get; set; }
        /// <summary>
        /// 转换因子
        /// </summary>
        public int? Factor { get; set; }
        /// <summary>
        /// 材质
        /// </summary>
        public string Material { get; set; }
        /// <summary>
        /// 包装
        /// </summary>
        public string Pack { get; set; }
        /// <summary>
        /// 产品名称
        /// </summary>
        public string GoodsName { get; set; }
        /// <summary>
        /// 生产企业
        /// </summary>
        public string Companyname_Sc { get; set; }
        /// <summary>
        /// 投标企业
        /// </summary>
        public string Companyname_Tb { get; set; }
        /// <summary>
        /// 配送企业
        /// </summary>
        public string Companyname_Ps { get; set; }
        /// <summary>
        /// 投标价格
        /// </summary>
        public double? ProcurePrice { get; set; }
        /// <summary>
        /// 在用
        /// </summary>
        public bool? IsUsing { get; set; }
        /// <summary>
        /// 流转中
        /// </summary>
        public bool? IsFlowing { get; set; }
        /// <summary>
        /// 目录源
        /// </summary>
        public string CatalogSource { get; set; }
        /// <summary>
        /// 添加时间
        /// </summary>
        public System.DateTime? AddTime { get; set; }
        public System.DateTime? AddTimeTo { get; set; }
        public System.DateTime? AddTimeFrom { get; set; }
        /// <summary>
        /// 项目名
        /// </summary>
        public string ProjectName { get; set; }
        /// <summary>
        /// 采购开始时间始--开始时间止
        /// </summary>
        public System.DateTime? ProcureStartTimeTo { get; set; }
        public System.DateTime? ProcureStartTimeFrom { get; set; }
        /// <summary>
        /// 采购结束时间始--结束时间止
        /// </summary>
        public System.DateTime? ProcureEndTimeTo { get; set; }
        public System.DateTime? ProcureEndTimeFrom { get; set; }
        /// <summary>
        /// 项目编号
        /// </summary>
        public string ProjectID { get; set; }
        /// <summary>
        /// 配送企业编号
        /// </summary>
        public string Companyid_Ps { get; set; }
        /// <summary>
        /// 商品编号
        /// </summary>
        public string GoodsID { get; set; }
        /// <summary>
        ///
        /// </summary>
        public string ProductID { get; set; }
        /// <summary>
        /// 分类编号
        /// </summary>
        public string SortID { get; set; }
        /// <summary>
        /// 生产企业编号
        /// </summary>
        public string Companyid_SC { get; set; }
        /// <summary>
        /// 投标企业编号
        /// </summary>
        public string Companyid_Tb { get; set; }
        /// <summary>
        /// 父分类编号
        /// </summary>
        public string ParentSortID { get; set; }
        /// <summary>
        /// 目录编号
        /// </summary>
        public string ProcureCatalogID { get; set; }
        /// <summary>
        /// 医疗机构编号
        /// </summary>
        public string HospitalID { get; set; }
        /// <summary>
        /// 医疗机构名称
        /// </summary>
        public string HospitalName { get; set; }
        /// <summary>
        /// 医疗机构地区编号
        /// </summary>
        public string AreaID
        {
            get;
            set;
        }
     
        /// <summary>
        /// 医疗机构是否撤废
        /// </summary>
        public bool? Hospital_IsUsing { get; set; }
        /// <summary>
        /// 产品名称 拼音码
        /// </summary>
        public string PinyinCode { get; set; }
        /// <summary>
        /// 五笔码
        /// </summary>
        public string WBCode { get; set; }

        /// <summary>
        /// 排序字段【格式如：UserID ASC,UserName DESC, IsAdmin ASC】
        /// </summary>
        public string SortFields { get; set; }

        /// <summary>
        /// 自定义查询字段[格式: UserID = '1234' AND Name = 'Zeus2' AND ID NOT (SELECT ID FROM XX)]
        /// </summary>
        public string Append { get; set; }

        public int? SortSource { get; set; }
        public int? IsBasicRemedy { get; set; }
        //是否内蒙基本药物 0是，1不是
        public int? IsNMJBYW { get; set; }
        //是否允许基层医疗机构采购 0允许 1不允许
        public int? IsJiCeng { get; set; }
        /// <summary>
        /// 产品类别
        /// </summary>
        public string QualityLevel { get; set; }
    }
}
